package cn.opopopo.design_pattern_learn.创建型.factory_method;

// 2. 具体产品
class Dog implements Animal {
    public void speak() {
        System.out.println("Woof!");
    }
}
